package com.lagou.example.mapper;

import com.lagou.example.pojo.User;

import java.util.List;

/**
 * @author xingyi
 */
public interface UserMapper {
    List<User> findAll();

    User findById(Integer id);

    void addUser(User user);

    void updateUser(User user);

    void deleteById(Integer id);
}
